﻿using System;

namespace kairiseiMAParser
{
    public class Enemy
    {
        public string ID;//#ID
        public string ModelID;//モデルID
        public string ScaleEffect;//効果エフェクトスケール
        public string ImageID;//イメージID
        public string Name;//名前
        public string Attribute;//属性
        public int HP;//HP
        public int ATK;//ATK
        public int INT;//INT
        public int MND;//MND
        public int DEF;//DEF
        public int MDEF;//MDEF
        public int SubtractionDamage;//ダメージ減算
        public string Size;//サイズ
        public string VoiceID;//ボイス情報ID

        public Enemy(string[] str)
        {
            Reader reader = new Reader(str);
            ID = reader.NextString();
            ModelID = reader.NextString();
            ScaleEffect = reader.NextString();
            ImageID = reader.NextString();
            Name = reader.NextString();
            Attribute = reader.NextString();
            HP = reader.NextInt32();
            ATK = reader.NextInt32();
            INT = reader.NextInt32();
            MND = reader.NextInt32();
            DEF = reader.NextInt32();
            MDEF = reader.NextInt32();
            SubtractionDamage = reader.NextInt32();
            Size = reader.NextString();
            VoiceID = reader.NextString();
        }

    }
}
